/* 
 * File:   systask.h
 * Author: apleilx
 */

#ifndef ADCCTR_H__H_
#define	ADCCTR_H__H_

#ifdef   _ADCCTR_MODULE_
#define  ADC_EXT
#else
#define  ADC_EXT  extern
#endif


	ADC_EXT uint16_t AdcVal;
	ADC_EXT uint8_t  AdcCnt;
	ADC_EXT uint32_t  AdcSum;
	ADC_EXT uint8_t     AdcEnd; 


	void AdcTranslate(void);
	void AdcInit(void);
    void AdcStart(uint8_t Ch);
    
#ifdef	__cplusplus
extern "C" {
#endif



#ifdef	__cplusplus
}
#endif

#undef ADC_EXT

#endif	/* ADCCTR_H__H_ */

